home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 14 / CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso / CUCD / Graphics / Icons / Laceless / ic < prev    next >
Encoding:
AmigaDOS Script File  |  1997-01-20  |  533 b   |  24 lines

  1. .key FILE/A,ICON/A,CREATE/S,TYPE/K
  2. .bra {
  3. .ket }
  4.  
  5. ; $VER: ic 1.1 (1.12.96)
  6.  
  7. if exists {FILE}
  8.   if exists Laceless:Icons/{ICON}.info
  9.     if NOT {CREATE}
  10.       iconpos >NIL: {FILE} Image Laceless:Icons/{ICON}
  11.     else
  12.       if NOT {TYPE}
  13.         echo ic: ERROR: TYPE must be set for a CREATE
  14.       else
  15.         iconpos >NIL: {FILE} Create Type={TYPE} Image Laceless:Icons/{ICON}
  16.       endif
  17.     endif
  18.   else
  19.     echo ic: ERROR: {ICON} Does not exist in the Laceless Set
  20.   endif
  21. else
  22.   echo ic: ERROR: Can't find {FILE} info file
  23. endif
  24.